/**
 * 
 */
package com.zhaokuo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhaokuo.dao.UserDao;
import com.zhaokuo.model.User;
import com.zhaokuo.service.UserService;

/**
 * @author zk 2012-3-22
 *
 */
@Service("userService")
public class UserServiceImpl implements UserService {
	@Autowired
	private UserDao userDao;
	@Override
	public User select(long id) {
		return userDao.select(id);
	}
	@Override
	public List<User> selectAll() {
		
		return userDao.selectAll();
	}

}
